πŸ•ΈοΈ Ada Research Browser

tasks.md
← Back

Tasks: Cloud Demo Infrastructure

Input: Design documents from /specs/007-cloud-demo-infra/ Prerequisites: plan.md (required), spec.md (required), research.md, data-model.md, contracts/

Organization: Tasks are grouped by user story to enable independent implementation and testing of each story.

Format: [ID] [P?] [Story] Description

Path Conventions


Phase 1: Setup (Shared Infrastructure)

Purpose: Directory structure and Terraform initialization


Phase 2: Foundational (Blocking Prerequisites)

Purpose: Core Terraform resources that ALL user stories depend on

⚠️ CRITICAL: No user story work can begin until this phase is complete

Checkpoint: Foundation ready - terraform apply creates 4 VMs with network


Phase 3: User Story 1 - Spin Up Demo Cluster (Priority: P1) 🎯 MVP

Goal: Complete demo-cloud-up.sh that provisions VMs and runs Ansible configuration

Independent Test: Run make demo-cloud-up and verify all 4 VMs are SSH accessible

Implementation for User Story 1

Checkpoint: User Story 1 complete - make demo-cloud-up provisions working cluster


Phase 4: User Story 2 - Tear Down Demo Cluster (Priority: P1)

Goal: Complete demo-cloud-down.sh that destroys all resources

Independent Test: Run make demo-cloud-down after spin-up and verify zero resources remain

Implementation for User Story 2

Checkpoint: User Story 2 complete - make demo-cloud-down destroys cluster cleanly


Phase 5: User Story 3 - Run Demo Scenarios (Priority: P1)

Goal: Verify existing demo playbooks work unchanged on cloud cluster

Independent Test: Run scenario-a-onboard.yml and verify same outputs as Vagrant environment

Implementation for User Story 3

Checkpoint: User Story 3 complete - All demo scenarios work on cloud cluster


Phase 6: User Story 4 - Share Access with Workshop Attendees (Priority: P2)

Goal: Document and enable workshop attendee SSH access

Independent Test: Add test SSH key and verify connection to login01

Implementation for User Story 4

Checkpoint: User Story 4 complete - Workshop access documented


Phase 7: User Story 5 - Cost Awareness and Safety (Priority: P2)

Goal: Cost estimation on spin-up and TTL warnings

Independent Test: Verify cost estimate displays and TTL warning appears after threshold

Implementation for User Story 5

Checkpoint: User Story 5 complete - Cost and TTL warnings functional


Phase 8: Polish & Cross-Cutting Concerns

Purpose: Documentation and validation


Dependencies & Execution Order

Phase Dependencies

User Story Dependencies

Within Each User Story

Parallel Opportunities


Parallel Example: User Story 3 (Run Scenarios)

# Launch scenario tests in parallel after provision.yml completes:
Task: "T037 [P] [US3] Test scenario-c-audit.yml"
Task: "T038 [P] [US3] Test scenario-d-lifecycle.yml"

Implementation Strategy

MVP First (User Stories 1 + 2)

  1. Complete Phase 1: Setup
  2. Complete Phase 2: Foundational (CRITICAL - blocks all stories)
  3. Complete Phase 3: User Story 1 (Spin Up)
  4. Complete Phase 4: User Story 2 (Tear Down)
  5. STOP and VALIDATE: Can now spin up and tear down clusters
  6. Deploy/demo if ready - this is the core MVP

Incremental Delivery

  1. Complete Setup + Foundational β†’ Foundation ready
  2. Add US1 (Spin Up) β†’ Test independently β†’ First demo possible
  3. Add US2 (Tear Down) β†’ Test independently β†’ Full lifecycle working (MVP!)
  4. Add US3 (Run Scenarios) β†’ Test independently β†’ Demo scenarios working
  5. Add US4 (Workshop Access) β†’ Documentation ready
  6. Add US5 (Cost/TTL) β†’ Safety features active
  7. Each story adds value without breaking previous stories

Parallel Team Strategy

With multiple developers:

  1. Team completes Setup + Foundational together
  2. Once Foundational is done:
  3. Developer A: User Story 1 (Spin Up) - MUST complete first
  4. Developer B: User Story 4 (Documentation) - Can run in parallel
  5. After US1 complete:
  6. Developer A: User Story 2 (Tear Down)
  7. Developer B: User Story 5 (Cost/TTL)
  8. After US1+US2 complete:
  9. Developer A: User Story 3 (Run Scenarios)

Notes